package com.bristua.barcode.supplier.dao;

import com.bristua.barcode.supplier.model.TQrCodeCookie;
import com.bristua.barcode.supplier.model.condition.TQrCodeCookieExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TQrCodeCookieMapper {
    long countByExample(TQrCodeCookieExample example);

    int deleteByExample(TQrCodeCookieExample example);

    int deleteByPrimaryKey(String cookieId);

    int insert(TQrCodeCookie record);

    int insertSelective(TQrCodeCookie record);

    List<TQrCodeCookie> selectByExampleWithBLOBs(TQrCodeCookieExample example);

    List<TQrCodeCookie> selectByExample(TQrCodeCookieExample example);

    TQrCodeCookie selectByPrimaryKey(String cookieId);

    int updateByExampleSelective(@Param("record") TQrCodeCookie record, @Param("example") TQrCodeCookieExample example);

    int updateByExampleWithBLOBs(@Param("record") TQrCodeCookie record, @Param("example") TQrCodeCookieExample example);

    int updateByExample(@Param("record") TQrCodeCookie record, @Param("example") TQrCodeCookieExample example);

    int updateByPrimaryKeySelective(TQrCodeCookie record);

    int updateByPrimaryKeyWithBLOBs(TQrCodeCookie record);

    int updateByPrimaryKey(TQrCodeCookie record);

    int batchUpdate(@Param("recordList") List<TQrCodeCookie> recordList);

    int batchInsert(@Param("recordList") List<TQrCodeCookie> recordList);

    int batchDelete(@Param("ids") String[] ids);
}